package com.test.mvcframework.pojo.handler;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author felix
 */
public interface Handler {
    /**
     * 处理请求
     * @param request 请求
     * @param response 响应
     * @return 视图名
     * @throws Exception 异常
     */
    Object handle(HttpServletRequest request, HttpServletResponse response) throws Exception;
}
